#ifndef TEST2_H_
#define TEST2_H_

#endif /*TEST2_H_*/

#include<string>

using namespace std;

template<int hi, int wid> class Screen {
public:
	Screen() :
		_heigth(hi), _width(wid), _cursor(0), _Screen(hi*wid, '#') {
	}
private:
	string _Screen;
	string::size_type _cursor;
	short _heigth;
	short _width;

};

template<class Type, int size> class Fixed_Array {
public:
	Fixed_Array(Type *ar) :
		_count(size) {
		for (int ix = 0; ix<size; ++ix)
			_array[ix] = ar[ix];
	}
private:
	Type _array[size];
	int _count;
};